<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
	"http://www.w3.org/TR/html4/loose.dtd">

<html>
<head>
<title>

		LDRails
	
</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">

<meta name="description" content="LDRails Project">
<meta name="DC.Title" content="LDRails">
<meta name="DC.Creator.CorporateName" content="OCLC">
<meta name="DC.Description.Summary" content="LDRails Project">
<meta name="DC.Language" content="">
<meta name="DC.Publisher" content="OCLC">
<meta name="DC.Relation.Note" content="">
<meta name="DC.Rights" content="/worldwide/policies/copyright/default.htm">
<meta name="DC.Source.Relationship" content="">
<meta name="DC.Subject" scheme="Keyword" content="">
<meta name="DC.Type.OCLC" content="research_activity_profile">

<link rel="stylesheet" href="http://www.oclc.org/common/css/oclc-screen.css" type="text/css" media="screen">
<link rel="stylesheet" href="http://www.oclc.org/common/css/oclc-print.css" type="text/css" media="print">

<script type="text/javascript" src="http://www.oclc.org/common/javascript/oclc-global.js"></script>
<script type="text/javascript" src="http://www.oclc.org/common/javascript/alternate-rows.js"></script>
<!--<script type="text/javascript" src="http://www.oclc.org/common/javascript/swfobject_2_1.js"></script>-->
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/swfobject/2.1/swfobject.js"></script>

<script type="text/javascript" src="http://www.oclc.org/common/javascript/oclc-qm.js"></script>
<!-- Add-On Core Code (Remove when not using any add-on's) -->

<!--Core Add-On Code-->
<style type="text/css">
    .qmfv {
        visibility: visible !important;
    }
</style>
<script type="text/JavaScript">
    var qmad = new Object();
    qmad.bvis = "";
    qmad.bhide = "";
</script>

<!-- Add-On Settings -->
<script type="text/JavaScript">

    /******* Menu 0 Add-On Settings *******/
    var a = qmad.qm0 = new Object();

    // IE Over Select Fix Add On
    a.overselects_active = true;

</script>

<!-- Add-On Script Files -->
<script type="text/JavaScript" src="http://www.oclc.org/common/javascript/qm_over_select.js"></script>
<!--  SiteCatalyst header -->
<script language="JavaScript"  src="//www.oclc.org/common/javascript/s_code.js" ></script>


</head>

<body>
<a name="top"></a>

<div id="mp-skip">
<p><a href="#pagec2">Skip to page content</a></p>
</div><!-- /#mp-skip -->
<noscript>
<div id="mp-javascript">
<p>Your Web browser is not enabled for Javascript. Some features of this site will not be available.</p>
</div><!-- /#mp-javascript -->
</noscript>

<div id="mp-page">
	<div id="mp-cap-top"></div><!-- /#mp-cap-top -->
	<div id="mp-main">



			
				

<div id="mp-print-logo"><img src="http://www.oclc.org/common/images/masterpage/mp-print-logo.gif" alt="OCLC" width="100" height="36"></div>
<div id="mp-masthead">
	<table id="table-masthead">
	<tr>
	<td>
		<div id="mp-logo">
			<a href="http://www.oclc.org/default.htm" title="OCLC Home"><img src="http://www.oclc.org/common/images/masterpage/mp-masthead-logo-oclc-en.gif" alt="OCLC: The world's libraries. Connected." title="OCLC: The world's libraries. Connected." width="400" height="54"></a>
		</div><!-- /#mp-logo -->
	</td>
	</tr>
	</table>

</div><!-- /#mp-masthead -->



				<div id="qm0" class="qmmc">

	<!-- Begin WorldCat drop  -->
	<a href="http://www.oclc.org/worldcat/default.htm" title="Global network of library content and services that lets your institution be more connected, open and productive">WorldCat</a>

	<!-- Begin Membership drop  -->
	<a href="http://www.oclc.org/membership/default.htm" title="About OCLC membership">Membership</a>

	<!-- Begin Products and Services drop  -->
	<a href="http://www.oclc.org/services/default.htm" title="Products and Services">Products and Services</a>
	
	<!-- Begin Research drop  -->
	<a href="http://www.oclc.org/research/default.htm" title="OCLC Research home page">Research</a>
			<span class="qmclear">&nbsp;</span>

</div>

			


<div id="mp-content">
<table>
<tr>
	<td id="pagec2">
	<!-- component to set surrounding div to color scheme -->
		<div id="research">
	<!-- content area -->
	<div id="crumbs">
		<a href="http://www.oclc.org/research/default.htm">Research</a> : <strong>LDRails</strong> 
	</div><!-- /#crumbs -->

		
<h1>LDRails</h1>

<div id="or-left" class="interior">


<div>
<p>LDRails is an open-source prototype application framework for converting domain models into Linked Data.
This implementation is based on the Grails framework, but the principles should be applicable to any MVC framework.</p>
<p>The following URIs illustrate the major categories of entities in a domain model:</p>
<p><img src="ancestry.jpg" /></p>
<strong>Model</strong>
<ul>
<li><a href="../ancestry/realworldmodel?format=rdf">Real World Model URI</a></li>
<li><a href="../ancestry/index">Model Web Document URI (HTML)</a></li>
<li><a href="../ancestry/about">Model Web Document URI (RDF)</a></li>
</ul>
<strong>Class</strong>
<ul>
<li><a href="../person/realworldclass?format=rdf">Real World Class URI</a></li>
<li><a href="../person/list">Class Web Document URI (HTML)</a></li>
<li><a href="../person/classwebdocument">Class Web Document URI (RDF)</a></li>
</ul>
<strong>Instance</strong>
<ul>
<li><a href="../person/realworldinstance/1?format=rdf">Real World Instance URI</a></li>
<li><a href="../person/show/1">Instance Web Document URI (HTML)</a></li>
<li><a href="../person/about/1">Instance Web Document URI (RDF)</a></li>
</ul>
<strong>Attribute</strong>
<ul>
<li><a href="../person/realworldclass?format=rdf#birthDate">Real World Attribute URI</a></li>
</ul>
<strong>Relationship</strong>
<ul>
<li><a href="../person/realworldclass?format=rdf#hasMother">Real World Relationship URI</a></li>
</ul>
<p>Note that the default content-negotiation behavior for Real World Object URIs is to return HTML.
This is to encourage the use of RWO URIs in place of Web Document URIs. The "format=rdf"
is <em>not</em> part of the RWO URI, but it is being used here to force the Grails 
content-negotiation mechanism to return RDF for demonstration purposes.</p>
<p>Also beware that I do <em>not</em> recommend these particular URI patterns. They were 
inherited from Grails.</p>
</div>


<h2>Background</h2>
<div>Foo</div>



<h2>Impact</h2>
<div>Bar</div>

<div>
<h2>Details</h2>
<p>Baz</p>

</div>

<h2>Software</h2>
<div><h3>License</h3>
<p>This software may be used without charge in accord with the terms of the <a href="http://www.apache.org/licenses/LICENSE-2.0.html">Apache License, Version 2.0</a>.</p>

<h3>Distribution</h3>
<p>The source for this project is available at <a href="http://code.google.com/p/ldrails/">http://code.google.com/p/ldrails/</a></p>
</div>

		<h2>Project Lead</h2>

		<div><ul><li><a href="http://www.oclc.org/research/people/young.htm">Jeff Young</a></li></ul></div>
	
</div><!-- /or-left -->

		</div><!-- /product/color scheme -->
		<!-- end of assettype content formatting -->

</td>
</tr>
</table><!-- /table -->

</div><!-- /#mp-content -->

	

	</div><!-- /#mp-main -->

	<div id="mp-cap-bottom"></div><!-- /#mp-cap-bottom -->
	<div id="mp-legal">

<p><a href="http://www.oclc.org/policies/copyright/default.htm">&#169; 2009 OCLC</a></p>
<p><a href="http://www.oclc.org/about/styleguide/trademarks.pdf">Domestic and international trademarks and/or service marks of OCLC Online Computer Library Center, Inc. and its affiliates</a></p>


</div><!-- /#mp-legal -->
</div><!-- /#mp-page -->
<script type="text/JavaScript">qm_create(0,false)</script>

<!--  SiteCatalyst footer -->

<script language="JavaScript"><!--
/***** THIS VAR MUST FOLLOW ALL OTHER SITE ANALYTIC VARIABLES - DO NOT MOVE OR ALTER! **************/
var s_code=s.t();if(s_code)document.write(s_code)//--></script>
<!-- / SiteCatalyst code version: H.14. -->

</body></html>

